{% load i18n static %}
<table class="main_header">
    <tbody>
        <tr>
            <td rowspan="5" class="logo"><img src="{% if order_info.sub_company.logo %}{{ order_info.sub_company.logo.url }}{% else %}{% static 'main/logo.png' %}{% endif %}" width="120" height="90"></td>
            <td>{{ order_info.sub_company.company_name_cn }}</td>
            <th style="width:80px"></th>
            <td style="width:130px;"></td>
        </tr>
        <tr>
            <td>{{ order_info.sub_company.company_address_cn|default_if_none:'' }}</td>
            <th>{% trans '有效日期:' %}</th>
            <td>{{ order_info.order_validity_date }}</td>
        </tr>
        <tr>
            <td>传真：{{ order_info.sub_company.fax|default_if_none:'' }}</td>
            <th>{% trans '有效日期:' %}</th>
            <td>{{ order_info.order_validity_date }}</td>
        </tr>
        <tr>
            <td>电话：{{ order_info.sub_company.company_contact_cn|default_if_none:'' }}</td>
            <th>{% if LANGUAGE_CODE == 'en' %}PO No.: {% else %}订单编号:{% endif %}</th>
            <td>{{ order_info.order_code }}</td>
        </tr>
    </tbody>
</table>